forum

home / developersection / forums / can autobahn use a custom json encoder?

Can Autobahn use a custom json encoder?

Madam Walker 3322 20-Jun-2013
Hi Developers,

When doing RPC with autobahn, autobahn supports procedures returning python objects as long as they are json serializable. Some objects I'd like to return are not by default json serializable. I can easily write a custom encoder, but how would autobahn know it needs to use it?

Thanks in advance for any recommendations or solutions.

Updated on 20-Jun-2013
Madam Walker

Other


Message
Can you answer this question?

Answer

1 Answers

Liked By